package com.jeasonzhao.commons.db;

import java.sql.PreparedStatement;
import java.sql.ResultSet;

public class ExecutionResult
{
    private int effectRows = 0;
    private ResultSet resultSet = null;
    private PreparedStatement prepareStatement = null;
    private String originalSql = null;
    private String executedSql = null;
    public ExecutionResult()
    {
        super();
    }

    public int getEffectRows()
    {
        return effectRows;
    }

    public PreparedStatement getPrepareStatement()
    {
        return prepareStatement;
    }

    public ResultSet getResultSet()
    {
        return resultSet;
    }

    public String getExecutedSql()
    {
        return executedSql;
    }

    public String getOriginalSql()
    {
        return originalSql;
    }

    public void setEffectRows(int effectRows)
    {
        this.effectRows = effectRows;
    }

    public void setPrepareStatement(PreparedStatement prepareStatement)
    {
        this.prepareStatement = prepareStatement;
    }

    public void setResultSet(ResultSet resultSet)
    {
        this.resultSet = resultSet;
    }

    public void setExecutedSql(String executedSql)
    {
        this.executedSql = executedSql;
    }

    public void setOriginalSql(String initSql)
    {
        this.originalSql = initSql;
    }
}
